{% extends "base.html" %}

{% block BaseBrowserTitle %}
    View {{ page.wiki_title }} 
{% endblock %}

{% block BasePageTitle %}
    {{ page.wiki_title }}: {{ page.title }} 
{% endblock %}

{% block BasePageMenu %}
    <input type="button" value="Edit Page" onclick="EditPage( '{{ page.wiki_title }}' )"/>
    <input type="button" value="New Page" onclick="EditPage()" />
{% endblock %}

{% block BasePageTitleRight %}
    Version: {{ page.version }} 
    &nbsp; &nbsp; Last Edited: {{ page.date|date:"P M d, Y"}}
    {% if author %}
        <em>&nbsp; &nbsp; By: <a href="/user/{{ email }}">{{ author }} </a></em>
    {% endif %}
{% endblock %}

{% block BaseBody %}
    {% if wikified %}
        {{ wikified }}
    {% else %}
        Page does not exist.  Edit to create page.
    {% endif %}
{% endblock %}
